<?php get_header(); ?>
<div id="main">
	<div class="mainTop clear">
		<div class="imageRotation leftFloat"> 
			<div class="imageBox">
				<a href="javascript:void(0)" target="_blank"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard1.jpg" /></a>
				<a href="javascript:void(0)" target="_blank"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard2.jpg" /></a>
				<a href="javascript:void(0)" target="_blank"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard3.jpg" /></a>
				<a href="javascript:void(0)" target="_blank"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard4.jpg" /></a>
				<a href="javascript:void(0)" target="_blank"><img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard5.jpg" /></a>
			</div>
			<div class="titleBox">
				<p class="active"><span>猫和他的半岛铁盒</span></p>
				<p>我愿回忆，成为一种习惯.</p>
				<p>青春有一半关于梦想</p>
				<p>你在过路的风景上。</p>
				<p>一个人的独处。</p>
			</div>
			<div class="icoBox">
				<span class="active" rel="1">1</span>
				<span rel="2">2</span>
				<span rel="3">3</span>
				<span rel="4">4</span>
				<span rel="5">5</span>

			</div>
		</div>

		<div class="hotNews2 rightFloat">
			<ul class="case">
				<li>
					<div class="case_w">
						<img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard4.jpg" width="280" height="170" />
						<div class="fire"></div>
						<a href="http://www.ninanfm.com/archives/9.html" class="x" target="_blank"></a>
					</div>
				</li>
				<div class="wenzi">悲伤的人就是不够坚强。</div>
				<li>
					<div class="case_w">
						<img src="<?php bloginfo('url'); ?>/wp-content/uploads/2016/01/heard2.jpg" width="280" height="170" />
						<div class="fire"></div>
						<a href="http://www.ninanfm.com/archives/7.html" class="x" target="_blank"></a>
					</div>
				</li>
				<div class="wenzi">vol.你名字的样子。</div>

			</ul>
		</div>

	</div>

	<div class="mainContentsy clear">
		<div class="articleList leftFloat">
			
			<div class="postList clear">
				<ul>
				<?php $posts = query_posts($query_string . '&orderby=date&showposts=5&cat=1,2'); ?>
				<?php while(have_posts()) : the_post(); ?>
					<li>
						<div class="entryImg">
							<a title="<?php the_title(); ?>" target="_blank" href="<?php the_permalink(); ?>">
								<img width="235" height="152" alt="<?php the_title(); ?>" src="<?php echo catch_that_image() ?>">
							</a>
							<?php
							$custom_fields = get_post_custom_keys($post_id);
							if (!in_array ('post_copyright', $custom_fields)) :
							?>
							<?php  var_dump(the_category());?>
							<span class="entryCopyright"><?php the_category(' , '); ?></span>
							<?php else: ?>
							<span class="entryCopyright">精选</span>
							<?php endif; ?>
						</div>
						<h3 class="entryTitle">
							<a title="<?php the_title(); ?>" target="_blank" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
						</h3>
						<p class="entryContent"><?php 
						if ($post->post_excerpt) {
							_e(wp_trim_words( $post->post_excerpt, 80,'......' ));
						} else {
							_e(wp_trim_words( $post->post_content, 80,'......' )); 
						}
						?></p>
						<p class="autor">
						<span class="dtime f_l">2014-02-19</span><span class="viewnum f_r">浏览（<a href="/">459</a>）</span><span class="pingl f_r">评论（<a href="/">30</a>）</span>
						</p>
					</li>
				<?php endwhile; ?>
				</ul>
			</div>
		</div>
		<?php include_once("sidebarIndex.php"); ?>
	</div>

	<div class="linkShow clear">
	<div class="articleListTitle">
			<h3>友情链接</h3>
			<span style="padding: 0 0 0 10px; color: #999999; line-height: 30px;">[ 申请友链请在 <a title="友情链接" target="_blank" href="<?php bloginfo('url'); ?>/about/link">友链页面</a> 查看详情，留言。 ]</span>
	</div>
	<div class="friendLink clear">
		<ul>
			<li><a target="_blank" title="小时光电台" href="http://www.xsgdt.com/">小时光电台</a></li>
			<li><a target="_blank" title="呢喃电台" href="http://www.ninanfm.com/">呢喃</a></li>
			<li><a target="_blank" title="运营笔记" href="http://www.ccoooo.com/">运营笔记</a></li>
			<li><a target="_blank" title="耳朵的主人" href="http://www.edzbe.com/">耳朵的主人</a></li>
		</ul>
	</div>
	</div>
</div>
<?php get_footer(); ?>